package edu.nf.ch11.aop;

import edu.nf.aop.JoinPoint;
import edu.nf.aop.annotation.Around;

/**
 * @author wangl
 * @date 2025/4/21
 */
public class DemoAspect {

    @Around
    public Object around2(JoinPoint joinPoint) throws Throwable {
        System.out.println("调用方法前2...");
        //调用目标方法
        Object obj = joinPoint.proceed();
        System.out.println("调用方法后2...");
        return obj;
    }
}